package com.sheeran.aichat.service.bigmodel;

import com.sheeran.aichat.dto.bigmodel.BigModelResponseDTO;
import com.sheeran.aichat.dto.bigmodel.BigModelToolsResponseDTO;
import com.sheeran.aichat.dto.bigmodel.ChatCompletionRequestDTO;
import com.sheeran.aichat.dto.bigmodel.ChatToolsRequestDTO;

/**
 * @author sheeran
 */
public interface IOpenAI {

    /**
     *
     * @param requestDTO
     * @return
     * @throws Exception
     */
    BigModelResponseDTO completions(ChatCompletionRequestDTO requestDTO) throws Exception;

    /**
     *
     * @param requestDTO
     * @return
     * @throws Exception
     */
    BigModelToolsResponseDTO tools(ChatToolsRequestDTO requestDTO) throws Exception;
}
